package cloud.keveri.user.trigger.rpc;

import cloud.keveri.api.user.ITestService;
import cloud.keveri.gateway.sdk.Protocol;
import cloud.keveri.gateway.sdk.annotation.GatewayService;
import cloud.keveri.gateway.sdk.annotation.Invoker;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * <p>
 * 作者：沈自在
 **/
@GatewayService(serviceId = "user-test", protocol = Protocol.DUBBO, patternPath = "/user")
@DubboService
public class TestServiceBooth implements ITestService {

    @Invoker(path = "/hello", auth = true)
    public String hello(String name) {
        return "欢迎 " + name + " 访问 Keveri-Cloud 云开发平台，祝你新年发大财～～";
    }
}
